﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Label1.Visible = false;
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        if ((textUserName.Text == "Jig") & (textPassword.Text == "punu"))
        {
            Response.Redirect("HomePage.aspx");
        }
        else if ((textUserName.Text == "admin") & (textPassword.Text == "admin"))
        {
            Response.Redirect("Admin.aspx");
        }
        else
        {
            Label1.Visible = true;
        }


    }
}